<?php

namespace app\common\model;

use think\Model;

class Search extends Model
{
    //
    public function searchContentAttr($query, $value, $data)
    {
        $query->where('content','like',$value.'%');
    }
}
